#ifndef BASEPTC_H
#define BASEPTC_H
#include "Command.h"
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
namespace protocal{
enum SOURCE{CAR,CLIENT,SERVER};

class BasePtc
{
public:
    BasePtc(){}

public:
    enum SOURCE source;
    union
    {
        enum SRVCOMMAND srv_command;
        enum CLICOMMAND cli_command;
        enum CARCOMMAND car_command;
    };

    int size;
};
}
#endif // BASEPTC_H
